package game.metalmax.controller
{
	import game.metalmax.module.character.CharacterProxy;
	import game.metalmax.module.config.ConfigProxy;
	import game.metalmax.module.server.ServerProxy;
	import game.metalmax.module.world.WorldProxy;
	
	import showtime.framework.mvc.interfaces.INotification;
	import showtime.framework.mvc.patterns.command.SimpleCommand;

	/**
	 * @project Client
	 * @date 2011-7-5
	 * @author 绿豆蛙
	 *
	 */
	public class ModelCommand extends SimpleCommand
	{
		public function ModelCommand()
		{

		}

		override public function execute( notification:INotification ):void
		{				
			facade.registerProxy(new ConfigProxy());
			facade.registerProxy(new WorldProxy());
			facade.registerProxy(new CharacterProxy());
			facade.registerProxy(new ServerProxy());
		}

	}
}
